home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 7
/
PC World Interactive 7.iso
/
program
/
cprog.EXE
/
BMP2BGI1.ZIP
/
BGI.H
next >
Wrap
Text File
|
1991-05-25
|
799b
|
15 lines
//////////////////////////////////////////////////////////////////////////
// BGI.H: struct's for BGI files created w/ BMP2BGI
//////////////////////////////////////////////////////////////////////////
typedef struct BGIPreface
{
int PType; // 0=CGA, 1=EGA/VGA, 2=SVGA/IBM8514
struct palettetype palette; // Color Palette
int Width; // Image's width in pixels
int Height; // Image's height in pixels
long Foffset; // Offset in file where BGI image is
} BGIPREFACE;
#define NULLIMAGESIZE 0x0 // If image is 64K+, imagesize()
// will return this value